package com.sjd.service;

import com.sjd.pojo.Books;

import java.util.List;

public interface BookService {
    //增加一本书
    public int addBook(Books books);
    //删除一本书
    public int deleteBookById( int id);
    //修改一本书
    public int modifyBook(Books books);
    //查询一本书
    public Books selectBookById(int id);
    //查询全部的书
    public List<Books> selectAllBooks();

    public Books selectBook(String bookName);
}
